package com.andrewmccandless.kicker.gui;

import com.andrewmccandless.kicker.R;
import com.andrewmccandless.kicker.R.layout;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainMenu extends Activity {
    
	private GuiController gc = null;
	private Button play_btn = null, settings_btn = null;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        play_btn = (Button) this.findViewById(R.id.mainmenu_play_btn);
        settings_btn = (Button) this.findViewById(R.id.mainmenu_settings_btn);
        
        
        play_btn.setOnClickListener(onClickPlayBtn);
        play_btn.setOnClickListener(onClickSettingsBtn);
    }
	
	private OnClickListener onClickPlayBtn = new OnClickListener(){
		@Override
		public void onClick(View v){
			Intent exploreItemIntent = new Intent(MainMenu.this, KickerArena.class);
			startActivity(exploreItemIntent);
    	}
	};
	
	private OnClickListener onClickSettingsBtn = new OnClickListener(){
		@Override
		public void onClick(View v){
			Intent exploreItemIntent = new Intent(MainMenu.this, KickerArena.class);
			startActivity(exploreItemIntent);
		}
	};
}